package com.xue.zuoye0214;

public class Company2 {

    // 成员变量

    // 行为方法

    /**
     * 打印员工工资
     * @param caculateMonth 打印工资的月份
     * @param colaEmployee 打印的员工对象
     */
      public void printEmployeeSalary(int caculateMonth,ColaEmployee colaEmployee){
          System.out.println(caculateMonth+"月份工资：姓名："
                  + colaEmployee.getName()+",工资金额："
                  + colaEmployee.getSalary(caculateMonth));
       }
}
